#test数据：
admin=("test11","123456")
qz=("sw0085267","Qq1234567@")
fqz=("cw0050827","Chen!1234")
aut=("y00012009","Hihonor!1234")
us=("hw011234","hw1234567")
user=[admin,qz,fqz,aut,us]
#test_login数据
count_null=("","123456","请输入账号/密码")
pass_null=("test11","","请输入账号/密码")
count_error=("test111","123456","账号/密码错误")
pass_error=("test11","4457899","账号/密码错误")
login_succ=("test11","123456","登录成功")
login_data_test=[count_null,pass_null,count_error,pass_error,login_succ]
#参数校验
paramss=["","   ","@#$%^&","emo","null","最大值","超出最大值"]
paramss_pass={"@#$%^&","emo","null","最大值"}
paramss_fail={"","   ","超出最大值"}
def varass(li,succesee_var,fail_var):
    if li&paramss_fail==set():
        return succesee_var
    else:
        return fail_var
#mysql
usercount=["test11","sw0085267","cw0050827","y00012009","hw011234"]
password=["123456","Qq1234567@","Chen!1234","Hihonor!1234","hw1234567"]
